package com.ruoyi.food.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ruoyi.food.object.TActOrder;

/**
 * 活动订单servic
 * @author mengcc
 *
 */
public interface TActOrderService {
	
	/**
	 * 查询所有的活动订单
	 * @return
	 */
	List<TActOrder> findTActOrder();
	
	/**
	 * 模糊查询活动订单
	 * @return
	 */
	List<TActOrder> findTActOrderByCon(TActOrder tActOrder);
	
	/**
	 * 通过购买人id查询活动订单
	 * @param clientId
	 * @return
	 */
	List<TActOrder> findTActOrderByClientId(long clientId);
	
	/**
	 * 通过商户订单号查询活动订单
	 * @param mOrderId
	 * @return
	 */
	TActOrder findTActOrderByMOrderId(String mOrderId);
	
	/**
	 * 通过手机号查找活动订单
	 * @param mobile
	 * @return
	 */
	List<TActOrder> findTActOrderByMobile(String mobile);
	
	List<TActOrder> findTActOrderByActId(List<Long> actIds,TActOrder tActOrder);

}
